<?php

namespace app\api\validate;

use think\Validate;

class Message extends Validate
{
    protected $rule = [
        "name" => "require",
        "title" => "require",
        "phone" => "require",

    ];

    protected $message = [
        'name.require' => '请输入姓名',
        'title.require' => '请输入名称',
        'phone.require' => '请输入联系方式',
    ];

}